<template>
  <div class="wp">
      <div class="header-sea">
      <img src="@/assets/2_3.png" class="pic-sea"/>
          <van-search
        v-model="value"
        shape="round"
        background="#21272e"
        placeholder="搜索.."
        left-icon="none"
      />
      <h4 class="sea-txt" @click="back">取消</h4>
      </div>
      <div class="hot-sea">
      <h3>热门搜索 <img src="@/assets/2_jt.png" /> <span>查看全部</span></h3>
      <ul class="ul-sea">
        <li>
          <img src="@/assets/2_12.png" class="pic-sea-1">
            <h4 class="txt-sea">三体：死神永生</h4>
            <h5 class="name-sea">刘慈心</h5>
        </li>
         <li>
          <img src="@/assets/2_13.png" class="pic-sea-1">
            <h4 class="txt-sea">人类简史</h4>
            <h5 class="name-sea">尤瓦尔• 郝拉利</h5>
        </li>
         <li>
          <img src="@/assets/2_14.png" class="pic-sea-1">
            <h4 class="txt-sea">徐三观卖血记</h4>
            <h5 class="name-sea">余华</h5>
        </li>
      </ul>
      </div>
      <div class="history-sea">
      <h3>
        浏览历史
        <i slot="icon" class="iconfont icon-shanchu"></i>
      </h3>
      <p class="choice-sea">
        艺术设计
      </p>
      <p class="choice-sea">
        自由人像雕塑
      </p>
      <p class="choice-sea">
        人文环境
      </p>
      <p class="choice-sea">
        社交及职场
      </p>
      <p class="choice-sea">
        科学研究
      </p>
      </div>
  </div>
</template>
<script>

export default {

  data() {
    return {
    }
  },
  // 计算属性，会监听依赖属性值随之变化
  computed: {
  },
  // 监控data中的数据变化
  watch: {},
  // 方法集合
  methods: {
        back(){
        this.$router.go(-1);//返回上一层
    }
  },
  // 生命周期 - 创建完成（可以访问当前this实例）
  created() {
    
  },
  // 生命周期 - 挂载完成（可以访问DOM元素）
  mounted() {
    
  }
}
</script>

<style lang='less'>
.header-sea{
.pic-sea{
    width: 40px;
    position: absolute;
    top: 159px;
    left: 82px;
  }
  .van-search {
  margin-top: 100px;
  width: 650px;
  padding: 24px 50px;
  color: #9da3b4;
  padding-bottom: 0;
}
.van-search__content--round {
  background-color: #2d353d;
}
.van-field__body {
  font-size: 34px;
  height: 90px;
}
.van-field__control[type="search"] {
  padding-left: 55px;
  color: #9da3b4;
}
.sea-txt{
    position: absolute;
    top: 160px;
    right: 50px;
    font-size: 24px;
	font-weight: normal;
	font-stretch: normal;
	letter-spacing: 0px;
	color: #8d92a5;
}
}
.hot-sea{
   overflow: hidden;
  margin-left: 50px;
    h3 {
    margin-top: 40px;
    font-size: 36px;
    font-weight: normal;
    color: #ffffff;
    span {
      float: right;
      margin-top: 3px;
      margin-right: 10px;
      font-size: 26px;
      color: #a2a8ba;
    }
    img {
      float: right;
      width: 10px;
      margin-top: 12px;
      margin-right: 50px;
    }
    }
    .ul-sea{
      overflow: hidden;
      padding-bottom: 30px;
      border-bottom: solid 1px #2a2c33;
      li{
        float: left;
        margin-top: 40px;
        padding-right: 35px;
      }
      .pic-sea-1{
       width: 192px;
      }
      .txt-sea{
        padding-top: 10px;
        font-size: 28px;
	      font-weight: normal;
	      font-stretch: normal;
	      color: #ffffff;
      }
      .name-sea{
        padding-top: 10px;
        font-size: 24px;
	      font-weight: normal;
       	font-stretch: normal;
	      letter-spacing: 0px;
       	color: #5d637c;
      }
    }
}
.history-sea{
  overflow: hidden;
  margin-left: 50px;
      h3 {
    margin-top: 40px;
    font-size: 36px;
    font-weight: normal;
    color: #ffffff;
    margin-bottom: 15px;
    }
    .icon-shanchu{
      float: right;
      font-size: 36px;
      color: #71768c;
      padding-right: 50px;
      padding-top: 11px;
    }
    .choice-sea{
      float: left;
      background-color: #45485b;
    	font-size: 22px;
      padding: 19px 36px;
     	color: #ffffff;
      border-radius: 50px;
      margin-top: 19px;
      margin-right: 20px;
    }
}
</style>